From 7edd955fe0146af8e6798a47b451c875ea0a65ac Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 20 Dec 2000 20:09:34 +0000 Subject: [PATCH] (eval-after-load): Doc fix. --- lisp/subr.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index 6abec8c5b41..087b8cfcd0f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -787,7 +787,9 @@ other hooks, such as major mode hooks, can do the job." This makes or adds to an entry on `after-load-alist'. If FILE is already loaded, evaluate FORM right now. It does nothing if FORM is already on the list for FILE. -FILE should be the name of a library, with no directory name." +FILE must match exactly. Normally FILE is the name of a library, +with no directory or extension specified, since that is how `load' +is normally called." ;; Make sure there is an element for FILE. (or (assoc file after-load-alist) (setq after-load-alist (cons (list file) after-load-alist))) -- 2.30.2